Flip Feng Shui: Hammering a Needle in the Software Stack
نویسندگان
چکیده
We introduce Flip Feng Shui (FFS), a new exploitation vector which allows an attacker to induce bit flips over arbitrary physical memory in a fully controlled way. FFS relies on hardware bugs to induce bit flips over memory and on the ability to surgically control the physical memory layout to corrupt attacker-targeted data anywhere in the software stack. We show FFS is possible today with very few constraints on the target data, by implementing an instance using the Rowhammer bug and memory deduplication (an OS feature widely deployed in production). Memory deduplication allows an attacker to reverse-map any physical page into a virtual page she owns as long as the page’s contents are known. Rowhammer, in turn, allows an attacker to flip bits in controlled (initially unknown) locations in the target page. We show FFS is extremely powerful: a malicious VM in a practical cloud setting can gain unauthorized access to a co-hosted victim VM running OpenSSH. Using FFS, we exemplify end-to-end attacks breaking OpenSSH public-key authentication, and forging GPG signatures from trusted keys, thereby compromising the Ubuntu/Debian update mechanism. We conclude by discussing mitigations and future directions for FFS attacks.
منابع مشابه
Feng Shui Theory with Artificial Neural Network Technique for Appraising Real Estate Price
Feng shui is the scientific knowledge of Chinese ancient. In Taiwan, though some people thought that feng shui is the superstition, we can see the influence on the people's lives including of choosing good days, divination and house selecting. From the past researches, we know many factors affect the real estate price. Those factors are the announced land values, the building room age, building...
متن کاملFeng-Shui Theory and Practice Investigated by Spatial Regression Modeling
Feng-Shui (meaning wind and water) has a strong indication for the placement of a physical object in space since it determines propitious locations by investigating the vital energy of the earth (Qi) throughout the lay of the land. Feng-Shui is the product of ancient Chinese cosmological beliefs and their responses to the land which were directly linked to survival and healthy living since it w...
متن کاملApplications of Knowledge-Based Expert Systems to Feng Shui Knowledge
Feng Shui is a traditional Chinese wisdom which aimed at creating a harmony between environment, buildings and people. With a desire to improve the relationship between human and the environment, there is an increasing interest for architects and other building professionals to apply the concepts of Feng Shui in building design and the built environment. While Feng Shui has been practiced in Ch...
متن کاملCurious Case of Rowhammer: Flipping Secret Exponent Bits Using Timing Analysis
Rowhammer attacks have exposed a serious vulnerability in modern DRAM chips to induce bit flips in data which is stored in memory. In this paper, we develop a methodology to combine timing analysis to perform the hammering in a controlled manner to create bit flips in cryptographic keys which are stored in memory. The attack would require only user level privilege for Linux kernel versions befo...
متن کاملNumerical study on the effect of hammering pressure on thickness reduction in hot tube metal gas forming process
Nowadays, light weight and high strength metals are being used in various industries such as automotive and aerospace. Using aluminum-magnesium alloys is an efficient way to reduce the weight of a specific part. These alloys have poor formability in room temperature thus they should be formed at elevated temperature. Warm hydroforming and hot metal gas forming are conventional methods to form ...
متن کامل